package pers.mihao.quickstream.common.plus.lock.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pers.mihao.quickstream.common.plus.lock.isolated.JvmGlobalLock;

/**
 * @author mihao
 * @since 2024/11/25
 */
@Configuration
public class GlobalLockConfig {

    @Bean
    JvmGlobalLock jvmGlobalLock() {
        return new JvmGlobalLock();
    }

}
